package com.ccjq.shosestore.order.model;

import java.util.List;

/**
 * @author LCY
 * @create 2018-12-05 17:48
 */
public class OrderModel {

    /**
     * 订单ID编号
     */
    private String orderId;

    /**
     * 订单生成时间
     */
    private String createTime;

    /**
     * 订单支付类型
     * 1、微信
     * 2、支付宝
     */
    private int payment;

    /**
     * 订单总金额
     */
    private double amout;

    /**
     * 收货人姓名
     */
    private String receiver;

    /**
     * 省份
     */
    private String province;

    /**
     * 城市
     */
    private String city;

    /**
     * 区县
     */
    private String county;

    /**
     * 地址
     */
    private String address;

    /**
     * 邮政编码
     */
    private String zipcode;

    /**
     * 联系电话
     */
    private String telphone;

    /**
     * 用户唯一标识
     */
    private String userId;
    /**
     * 商品详细信息，包含商品编号，商品描述，数量，价格，小计,用户ID
     */
    private List<ShopInfoModel> shopInfo;

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getPayment() {
        return payment;
    }

    public void setPayment(int payment) {
        this.payment = payment;
    }

    public double getAmout() {
        return amout;
    }

    public void setAmout(double amout) {
        this.amout = amout;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getZipcode() {
        return zipcode;
    }

    public void setZipcode(String zipcode) {
        this.zipcode = zipcode;
    }

    public String getTelphone() {
        return telphone;
    }

    public void setTelphone(String telphone) {
        this.telphone = telphone;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public List<ShopInfoModel> getShopInfo() {
        return shopInfo;
    }

    public void setShopInfo(List<ShopInfoModel> shopInfo) {
        this.shopInfo = shopInfo;
    }
}
